<%@ taglib uri="/WEB-INF/sitemesh-decorator.tld" prefix="decorator"%><decorator:usePage
	id="p" />
<div class="section">
	<%
		if (p.getProperty("mainHref") != null) {
	%>
	<a class="headerOpen"
		id="main.<decorator:getProperty property="menuName" />"
		href="<decorator:getProperty property="mainHref" />"><decorator:getProperty
			property="title" />
	</a>
	<%
		} else {
	%>
	<a class="headerOpen"
		id="main.<decorator:getProperty property="menuName" />" href="#"
		onclick="toggleMenu('main.<decorator:getProperty property="menuName" />');return false;"><decorator:getProperty
			property="title" />
	</a>
	<%
		}
		if (p.getBody() != null && !p.getBody().trim().equals("")) {
	%>
	<ul id="main.<decorator:getProperty property="menuName" />_body">
		<decorator:body />
	</ul>
	<%
		}
	%>
</div>
<script language="JavaScript" type="text/javascript">
<!--
    restoreMenu('main.<decorator:getProperty property="menuName" />');
//-->
</script>